﻿using FileStorage.Common.Filters;
using Microsoft.AspNetCore.Builder;

namespace FileStorage.Common.Extensions
{
    public static class MiddlewareExtensions
    {
        public static IApplicationBuilder UseMustLogin(this IApplicationBuilder builder)
        {
            return builder.UseMiddleware<MustLoginMiddleware>();
        }
    }
}
